package cn.edu.gzgs.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@Schema(description = "获取项目-名单树")
public class ProjectTreeVO implements Serializable {
    @Schema(description = "节点ID")
    private String id;

    @Schema(description = "节点名称")
    private String name;

    @Schema(description = "节点类型: project-项目, list-名单")
    private String type;

    @Schema(description = "子节点列表")
    private List<ProjectTreeVO> children = new ArrayList<>();
}